﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jhong.FunMVC
{
    internal static class CompletionTask
    {
        public static Task CompleteTask
        {
            get
            {
                return _completeScource.Task;
            }
        }

        private static TaskCompletionSource<int> _completeScource;
        static CompletionTask()
        {
            _completeScource = new TaskCompletionSource<int>();
            _completeScource.SetResult(0);
        }
    }
}
